#include "ListNode.h"

void test01()
{
	LTNode* plist = NULL;
	LTInit(&plist);
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPrint(plist);
	LTNode* pos = LTFind(plist, 4);
	LTErase(pos);
	LTPrint(plist);
	LTDestroy(&plist);
}

int main()
{
	test01();
	return 0;
}